/**
 * 
 */
package org.gtiles.components.login.web;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 用于解决通过ajax请求时，返回json格式的数据处理
 * 
 * @author GuoR
 * @createDate 2016年3月17日
 */
public interface ILoginJsonRender {

	public abstract void loginSuccess(HttpServletRequest request,
			HttpServletResponse response) throws IOException;

	public abstract void loginFailure(HttpServletRequest request,
			HttpServletResponse response) throws IOException;

	public abstract void logoutSuccess(HttpServletRequest request,
			HttpServletResponse response) throws IOException;

}
